package com.example.malltest.client.mapper;


import com.example.malltest.client.entity.Client;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClientMapper {

    List<Client> getList();

    int save(Client client);

    Client getByName(String name);

    Client getById(Integer id);

    int delete(Client client);

    int edit(Client client);
}
